import { time } from '@/utils/performance';
import {heapSort as h} from '../heapSort'
import { isSorted, randomArr } from '../util';

export const test = () => {
    const arr = randomArr(0, 10000, 9000)
    h(arr);
    console.log(arr);
    p(arr)

}

const p = (arr: number[]) => {
    console.log(isSorted(arr))
}